import { defineStore } from "pinia";
import { DataScreenState } from "@/stores/interface";
import piniaPersistConfig from "@/config/piniaPersist";
export const useDataScreenStore = defineStore({
  id: "dataScreen",
  state: (): DataScreenState => ({
    isScale: true
  }),
  getters: {},
  actions: {
    setScale(data: boolean) {
      this.isScale = data;
    }
  },
  persist: piniaPersistConfig("dataScreen")
});
